package com.abl._new._try_close_自动关闭;

public class _TestTryClose {
    public static void main(String[] args) throws Exception {
        AutoCLose autoCLose1 = new AutoCLose();
        AutoCLose autoCLose2 = new AutoCLose();
        try (autoCLose1; autoCLose2) {
            throw new Exception("测试自动关闭");
        }
    }
}
